Code Compaction Using Genetic Algorithms

نویسندگان

  • Keith E. Mathias
  • Larry J. Eshelman
  • J. David Schaffer
  • Lex Augusteijn
  • Paul F. Hoogendijk
  • Rik van de Wiel
چکیده

One method for compacting executable computer code is to replace commonly repeated sequences of instructions with macro instructions from a decoding dictionary. The size of the decoding dictionary is often small in comparison to the number of all possible macros. Choosing the macros that yield the best compaction is a di cult subset selection problem because multiple, but colliding, macros may be applicable to many code segments. We show that a genetic algorithm using a new crossover operator, MSX, gives better compaction than heuristics designed speci cally for this problem. We also compare MSX with other crossover operators on a surrogate problem that models the essential properties of the code compaction problem.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Numerical Modelling of Dynamic Compaction in Dry Sandy Soils for Determination of Effective Print Spacing

Dynamic compaction (DC) is a widely used soil improvement method in dry and/or saturated soils. The design of DC treatment is usually carried out based on the past experiences and empirical relations. In order to clarify the ambiguities in DC processes, numerical modeling of DC in dry granular soils has been considered using a dynamic finite element code. Using the developed model, two design c...

متن کامل

Time - Constrained Code Compaction for DSPsRainer

| This paper addresses instruction-level paral-lelism in code generation for DSPs. In presence of potential parallelism, the task of code generation includes code com-paction, which parallelizes primitive processor operations under given dependency and resource constraints. Furthermore , DSP algorithms in most cases are required to guarantee real-time response. Since the exact execution speed o...

متن کامل

Linux Kernel Compaction through Cold Code Swapping

There is a growing trend to use general-purpose operating systems like Linux in embedded systems. Previous research focused on using compaction and specialization techniques to adapt a general-purpose OS to the memory-constrained environment presented by most embedded systems. However, there is still room for improvement: it has been shown that even after application of the aforementioned techn...

متن کامل

A Space Optimization Using Inexact Instruction Matches

In this paper we examine parameterized procedural abstraction. This is an extension of an optimization whose sole purpose is to reduce code size. Previously published implementations of procedural abstraction have produced space savings if the instruction sequences are exact matches. We show that permanent space savings (compaction) are possible when (1) covering all inexact matches by several ...

متن کامل

Cooperative register assignment and code compaction for digital signal processors with irregular datapaths

We address the phase ordering problem of code compaction and register assignment in a data ow graph compiler. During register assignment, we take into account the instructionlevel parallelism available. Symbolic variables in straightline code are allocated to register set/memory location pairs which maximally preserve the freedom available for code compaction. Whenever necessary, spill code is ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000